﻿using System;

namespace NTL.DAL
{
	public class CommentDetails
	{
		public CommentDetails(long galleryId, long imageId, long commentId,
			DateTime addedDate, string addedBy, string text, bool visible)
		{
			_galleryId = galleryId;
			_imageId = imageId;
			_commentId = commentId;
			_addedDate = addedDate;
			_addedBy = addedBy;
			_text = text;
			_visible = visible;
		}

		private long _galleryId;//PK
		private long _imageId;//PK
		private long _commentId;//PK
		private DateTime _addedDate;
		private string _addedBy;
		private string _text;
		private bool _visible;

		public long GalleryId { get { return _galleryId; } set { _galleryId = value; } }
		public long ImageId { get { return _imageId; } set { _imageId = value; } }
		public long CommentId { get { return _commentId; } set { _commentId = value; } }
		public DateTime AddedDate { get { return _addedDate; } set { _addedDate = value; } }
		public string AddedBy { get { return _addedBy; } set { _addedBy = value; } }
		public string Text { get { return _text; } set { _text = value; } }
		public bool Visible { get { return _visible; } set { _visible = value; } }
	}
}
